// ==========================================================================
// GFast自动生成service操作代码。
// 生成日期：2024-04-24 15:48:40
// 生成路径: internal/app/business/service/performances.go
// 生成人：周志雄
// desc:演出节目
// company:云南奇讯科技有限公司
// ==========================================================================


package service


import (
	"context"
	"github.com/tiger1103/gfast/v3/api/v1/business"
	"github.com/tiger1103/gfast/v3/internal/app/business/model"	
)


type IPerformances interface {
	List(ctx context.Context, req *business.PerformancesSearchReq) (res *business.PerformancesSearchRes, err error)
	GetById(ctx context.Context, Id int) (res *model.PerformancesInfoRes,err error)
	Add(ctx context.Context, req *business.PerformancesAddReq) (err error)
	Edit(ctx context.Context, req *business.PerformancesEditReq) (err error)
	Delete(ctx context.Context, Id []int) (err error)
}


var localPerformances IPerformances


func Performances() IPerformances {
	if localPerformances == nil {
		panic("implement not found for interface IPerformances, forgot register?")
	}
	return localPerformances
}


func RegisterPerformances(i IPerformances) {
	localPerformances = i
}
